wayland.windowManager.sway.config.bindswitches.<name>.locked

Unless the flag --locked is set, the command will not be run when a screen locking program is active. If there is a matching binding with and without --locked, the one with will be preferred when locked and the one without will be preferred when unlocked.

Type
boolean
Default
false
Declared
<home-manager/modules/services/window-managers/i3-sway/sway.nix>